package com.jumi.microservice.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * - - - - - - - - - - - - - - -
 *
 * @author liuz
 * @date 2020/8/20 15:50
 * ToDoSomeThing
 * - - - - - - - - - - - - - - -
 */
@ApiModel(value = "商品分类C端返回对象", description = "商品分类值对象")
public class CategorySlipVO{

    @ApiModelProperty(value = "商品分类ID")
    private Long id;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "分类下的商品")
    private List<GoodsCtegoryVO> goodsList;

    @ApiModelProperty(value = "分类下的商品总数量")
    private Long total;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public List<GoodsCtegoryVO> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsCtegoryVO> goodsList) {
        this.goodsList = goodsList;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
